<?php $name = system_controller_front::getInstance()->getRequest()->getActionName(); ?>
<div class="body tabs">
	<ul class="list">
		<li<?php if($name=='list') echo ' class="current"'; ?>><a href="<?php echo $this->url('picture/category/list');?>"><?php echo $this->language('ALL CATEGORY LIST');?><?php if($name=='list') echo ' »'; ?></a></li>
		<?php if($this->row && $this->row->getId()) { ?>
		<li<?php if($name=='edit') echo ' class="current"'; ?>>
			<a href="<?php echo $this->url('picture/category/edit', array('id' => $this->row->getId()));?>"><?php echo $this->language('EDIT CATEGORY');?><?php if($name=='edit') echo ' »'; ?></a>
		</li>
		<li<?php if($name=='move') echo ' class="current"'; ?>>
			<a href="<?php echo $this->url('picture/category/move', array('id' => $this->row->getId()));?>"><?php echo $this->language('MOVE TO');?><?php if($name=='move') echo ' »'; ?></a>
		</li>
		<li><a href="<?php echo $this->url('picture/special/list', array(), array('category_id' => $this->row->getId()));?>"><?php echo $this->language('SPECIALS');?></a></li>
		<?php } ?>
		<li<?php if($name=='addnew') echo ' class="current"'; ?>>
			<a href="<?php echo $this->url('picture/category/addnew', array('parent' => $this->pid));?>"><?php echo $this->language('CREATE A NEW CATEGORY');?><?php if($name=='addnew') echo ' »'; ?></a>
		</li>
	</ul>
	<div class="clearfix"></div>
</div>
